package edu.bit.water.dao;

import edu.bit.water.entity.MetaDischargeMaxPermission;
import edu.bit.water.entity.WasteWaterEva;
import edu.bit.water.entity.WasteWaterEva2;
import edu.bit.water.entity.WasteWaterNewSub1;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


@Mapper
@Repository
public interface WasteWaterNewSub1Dao {

    int insert(WasteWaterNewSub1 wasteWaterNewSub1) ;
    Integer getMaxId();
    int delete(@Param("id") int id);
    int update(WasteWaterNewSub1 wasteWaterNewSub1);
    List<WasteWaterNewSub1> select(int  last_id);
    List<MetaDischargeMaxPermission> getWaste();
    int labelUpdate(WasteWaterEva2 wasteWaterEva2);
}
